package cn.xclink.kernel.mapper;

import java.util.List;

import cn.xclink.common.mapper.BaseMapper;
import cn.xclink.kernel.entity.Resource;

public interface ResourceMapper extends BaseMapper<Resource> {
	
	public List<Resource> selectResource(Resource resource);
	
	public List<Resource> selectResourceByUserId(Long userId);
	
	public List<Resource> selectResourceByRoleId(Long roleId);
	
}